package com.industrial.app.domain.formal;

import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * app版本对象 app_version
 *
 * @author SangGuangCan
 * @date 2024-01-06
 */
public class AppVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String baseId;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    /** 下载地址 .apk结尾地址 */
    @Excel(name = "下载地址 .apk结尾地址")
    private String url;

    /** app类型 android/ios */
    @Excel(name = "app类型 android/ios")
    private String versionType;

    /** 升级描述 */
    @Excel(name = "升级描述")
    private String describe;

    /** 是否强制更新 */
    @Excel(name = "是否强制更新")
    private Integer isForce;

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId()
    {
        return baseId;
    }
    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getVersion()
    {
        return version;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setVersionType(String versionType)
    {
        this.versionType = versionType;
    }

    public String getVersionType()
    {
        return versionType;
    }
    public void setDescribe(String describe)
    {
        this.describe = describe;
    }

    public String getDescribe()
    {
        return describe;
    }
    public void setIsForce(Integer isForce)
    {
        this.isForce = isForce;
    }

    public Integer getIsForce()
    {
        return isForce;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("baseId", getBaseId())
                .append("version", getVersion())
                .append("url", getUrl())
                .append("versionType", getVersionType())
                .append("describe", getDescribe())
                .append("isForce", getIsForce())
                .toString();
    }
}
